<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<h2>Acromegalia - Scheda base</h2>
<div class="scheda-section">
	<h3>Diagnosi di acromegalia</h3>
	<strong>Data (mese / anno)</strong>:
	<c:out value="${acromegaliaSchedaBase.meseDataDiagnosi}" />
	/
	<c:out value="${acromegaliaSchedaBase.annoDataDiagnosi}" />
	<br /> <strong>Ritmo del GH</strong>:
	<c:out value="${acromegaliaSchedaBase.ritmoGH[0]}" />
	&nbsp;-&nbsp;
	<c:out value="${acromegaliaSchedaBase.ritmoGH[1]}" />
	&nbsp;-&nbsp;
	<c:out value="${acromegaliaSchedaBase.ritmoGH[2]}" />
	&nbsp;&mu;g/L&nbsp;&nbsp;&nbsp;, <strong>IGF-1</strong>:
	<c:out value="${acromegaliaSchedaBase.igf1}" />
	&nbsp;&mu;g/L <br /> <strong>OGTT per GH, glicemia e insulina</strong>:
	<br />
	<table>
		<tr>
			<th></th>
			<th>0'</th>
			<th>30'</th>
			<th>60'</th>
			<th>90'</th>
			<th>120'</th>
		</tr>
		<tr>
			<th>GH &mu;g/L</th>
			<td><c:out value="${acromegaliaSchedaBase.ogttGH[0]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGH[1]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGH[2]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGH[3]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGH[4]}" /></td>
		</tr>
		<tr>
			<th>Glicemia mmol /L</th>
			<td><c:out value="${acromegaliaSchedaBase.ogttGlicemia[0]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGlicemia[1]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGlicemia[2]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGlicemia[3]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttGlicemia[4]}" /></td>
		</tr>
		<tr>
			<th>Insulina mU/L</th>
			<td><c:out value="${acromegaliaSchedaBase.ogttInsulina[0]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttInsulina[1]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttInsulina[2]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttInsulina[3]}" /></td>
			<td><c:out value="${acromegaliaSchedaBase.ogttInsulina[4]}" /></td>
		</tr>
	</table>
</div>
<div class="scheda-section">
	<h3>RMN ipofisi</h3>
	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.tipoAdenoma}">
			<c:out value="${acromegaliaSchedaBase.tipoAdenoma}" />
			<br />

			<strong>Invasivo</strong>:
		<c:choose>
				<c:when test="${acromegaliaSchedaBase.invasivo}">
				S&igrave;
			</c:when>
				<c:otherwise>No</c:otherwise>
			</c:choose>
			<br />
			<c:choose>
				<c:when test="${not empty acromegaliaSchedaBase.dimensioni}">
					<strong>Dimensioni (mm)</strong>:
				<c:out value="${acromegaliaSchedaBase.dimensioni[0]}" />
				x
				<c:out value="${acromegaliaSchedaBase.dimensioni[1]}" />
				x
				<c:out value="${acromegaliaSchedaBase.dimensioni[2]}" />
				</c:when>
				<c:otherwise>
				Dimensioni non presenti.
			</c:otherwise>
			</c:choose>
		</c:when>
		<c:otherwise>
		Nessuna tipologia di adenoma presente.
	</c:otherwise>
	</c:choose>
</div>
<div class="scheda-section">

	<h3>Terapia medica primaria o prima della chirurgia</h3>

	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.terapieMedicheView}">
			<ul>
				<c:forEach var="terapia"
					items="${acromegaliaSchedaBase.terapieMedicheView}">
					<li><c:out value="${terapia.descrizioneTerapia} " /></li>
				</c:forEach>
			</ul>
			<strong>Descrizione terapia medica primaria</strong>:&nbsp;
			<c:choose>

				<c:when
					test="${not empty acromegaliaSchedaBase.terapiaMedicaDescrizione}">
					<c:out value="${acromegaliaSchedaBase.terapiaMedicaDescrizione}" />
				</c:when>
				<c:otherwise>
				Nessuna descrizione presente.
			</c:otherwise>
			</c:choose>

		</c:when>
		<c:otherwise>
		Nessuna terapia medica primaria presente.
	</c:otherwise>
	</c:choose>
</div>
<div class="scheda-section">
	<h3>Chirurgia</h3>
	<strong>Data chirurgia (mese/anno)</strong>:
	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.interventoAnno}">
			<c:out value="${acromegaliaSchedaBase.interventoMese}" />
			/
			<c:out value="${acromegaliaSchedaBase.interventoAnno}" />
		</c:when>
		<c:otherwise>
			Nessuna data chirurgia presente.
		</c:otherwise>
	</c:choose>

	<br /> <strong>Istologia</strong>:
	<c:choose>
		<c:when test="${acromegaliaSchedaBase.istologia == true}">S&igrave;</c:when>
		<c:otherwise>No</c:otherwise>
	</c:choose>
	<br /> <strong>Descrizione istologia</strong>:
	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.istologiaDescrizione}">
			<c:out value="${acromegaliaSchedaBase.istologiaDescrizione}" />
		</c:when>
		<c:otherwise>
				Nessuna descrizione presente.
			</c:otherwise>
	</c:choose>
	<br /> <strong>Immunoistochimica</strong>:
	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.immunoIstoChimicaOut}">
			<table>
				<tr>
					<td></td>
					<th>+</th>
					<th>-</th>
				</tr>
				<c:forEach var="entry"
					items="${acromegaliaSchedaBase.immunoIstoChimicaOut}">
					<tr>
						<th><c:out value="${entry.key}" /></th>
						<td><c:if test="${entry.value == true}">X</c:if></td>
						<td><c:if test="${entry.value == false}">X</c:if></td>
					</tr>
				</c:forEach>
			</table>
		</c:when>
		<c:otherwise>
			Nessuna informazione su immunoistochimica presente.
		</c:otherwise>
	</c:choose>
</div>
<div class="scheda-section">
	<h3>Radioterapia</h3>
	<strong>Radioterapia</strong>:
	<c:choose>
		<c:when test="${acromegaliaSchedaBase.radioterapia ==  true}">S&igrave; </c:when>
		<c:otherwise>No</c:otherwise>
	</c:choose>
	<br /> <strong>Descrizione radioterapia</strong>:
	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.radioterapiaDescr}">
			<c:out value="${acromegaliaSchedaBase.radioterapiaDescr}" />
		</c:when>
		<c:otherwise>
			Nessuna descrizione presente.
		</c:otherwise>
	</c:choose>
</div>
<div class="scheda-section">
	<h3>Familiarit&agrave; per</h3>
	<strong>Altri adenomi ipofisari</strong>:
	<c:choose>
		<c:when test="${acromegaliaSchedaBase.adenomiIpofisari == true}">S&igrave;</c:when>
		<c:otherwise>No</c:otherwise>
	</c:choose>
	<br /> <strong>Descrizione adenomi ipofisari</strong>:
	<c:choose>
		<c:when
			test="${not empty acromegaliaSchedaBase.adenomiIpofisariDescr}">
			<c:out value="${acromegaliaSchedaBase.adenomiIpofisariDescr}" />
		</c:when>
		<c:otherwise>
			Nessuna descrizione presente.
		</c:otherwise>
	</c:choose>
	<br /> <strong>Neoplasie</strong>:
	<c:choose>
		<c:when test="${acromegaliaSchedaBase.neoplasia == true}">
			S&igrave;
		</c:when>
		<c:otherwise>No</c:otherwise>
	</c:choose>
	<br /> <strong>Descrizione neoplasie</strong>:
	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.neoplasiaDescr}">
			<c:out value="${acromegaliaSchedaBase.neoplasiaDescr}" />
		</c:when>
		<c:otherwise>
			Nessuna descrizione presente.
		</c:otherwise>
	</c:choose>
</div>
<div class="scheda-section">
	<h3>Raccordo anamnestico</h3>
	<c:choose>
		<c:when
			test="${not empty acromegaliaSchedaBase.raccordoAnamnesticoDescr}">
			<c:out value="${acromegaliaSchedaBase.raccordoAnamnesticoDescr}" />
		</c:when>
		<c:otherwise>
			Nessun raccordo anamnestico presente.
		</c:otherwise>
	</c:choose>
</div>
<div class="scheda-section">
	<h3>Esami strumentali</h3>
	<ul>
		<c:choose>
			<c:when test="${not empty acromegaliaSchedaBase.tipoTiroide}">
				<li><strong>Ecografia della tiroide (mese/anno)</strong>: <c:choose>
						<c:when test="${not empty acromegaliaSchedaBase.ecoTiroideAnno}">
							<c:out value="${acromegaliaSchedaBase.ecoTiroideMese}" /> / 
							<c:out value="${acromegaliaSchedaBase.ecoTiroideAnno}" />
						</c:when>
						<c:otherwise>
							Nessuna data presente.
						</c:otherwise>
					</c:choose> <br /> <strong>Tipologia tiroide</strong>: <c:out
						value="${acromegaliaSchedaBase.tipoTiroide}" /> <br /> <strong>Agoaspirato</strong>:
					<c:choose>
						<c:when test="${acromegaliaSchedaBase.agoaspirato == true}">S&igrave;</c:when>
						<c:otherwise>No</c:otherwise>
					</c:choose> <br /> <strong>Descrizione</strong>: <c:choose>
						<c:when test="${not empty acromegaliaSchedaBase.agoaspiratoDescr}">
							<c:out value="${acromegaliaSchedaBase.agoaspiratoDescr}" />
						</c:when>
						<c:otherwise>
					     	Nessuna descrizione presente.
					     </c:otherwise>
					</c:choose></li>
			</c:when>
		</c:choose>

		<c:choose>
			<c:when test="${not empty acromegaliaSchedaBase.tipoColonscopia}">
				<li><strong>Colonscopia (mese/anno)</strong>: <c:choose>
						<c:when test="${not empty acromegaliaSchedaBase.colonscopiaAnno}">
							<c:out value="${acromegaliaSchedaBase.colonscopiaMese}" /> / 
							<c:out value="${acromegaliaSchedaBase.colonscopiaAnno}" />
						</c:when>
						<c:otherwise>
							Nessuna data presente.
						</c:otherwise>
					</c:choose> <br /> <strong>Tipologia colonscopia</strong>: <c:out
						value="${acromegaliaSchedaBase.tipoColonscopia}" /> <br /> <strong>Istologia</strong>:
					<c:choose>
						<c:when test="${acromegaliaSchedaBase.istoColonscopia == true}">S&igrave;</c:when>
						<c:otherwise>No</c:otherwise>
					</c:choose> <br /> <strong>Descrizione</strong>: <c:choose>
						<c:when
							test="${not empty acromegaliaSchedaBase.istoColonscopiaDescr}">
							<c:out value="${acromegaliaSchedaBase.istoColonscopiaDescr}" />
						</c:when>
						<c:otherwise>
					     	Nessuna descrizione presente.
					     </c:otherwise>
					</c:choose></li>
			</c:when>
		</c:choose>

		<c:if test="${not empty acromegaliaSchedaBase.ecocardiografia}">
			<li><strong>Ecocardiografia</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.ecocardiografia == 'N'}">Normale</c:when>
					<c:otherwise>Patologico</c:otherwise>
				</c:choose> <br /> <strong>Descrizione:</strong> <c:choose>
					<c:when
						test="${not empty acromegaliaSchedaBase.ecocardiografiaDescr}">
						<c:out value="${acromegaliaSchedaBase.ecocardiografiaDescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.dopplerTSA}">
			<li><strong>Doppler TSA</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.dopplerTSA == 'N'}">Normale</c:when>
					<c:otherwise>Patologico</c:otherwise>
				</c:choose> <br /> <strong>Descrizione:</strong> <c:choose>
					<c:when test="${not empty acromegaliaSchedaBase.dopplerTSADescr}">
						<c:out value="${acromegaliaSchedaBase.dopplerTSADescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.ecografiaAddome}">
			<li><strong>Ecografia addome completo</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.ecografiaAddome == 'N'}">Normale</c:when>
					<c:otherwise>Patologico</c:otherwise>
				</c:choose> <br /> <strong>Descrizione:</strong> <c:choose>
					<c:when
						test="${not empty acromegaliaSchedaBase.ecografiaAddomeDescr}">
						<c:out value="${acromegaliaSchedaBase.ecografiaAddomeDescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.tcAddome}">
			<li><strong>TC addome</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.tcAddome == 'N'}">Normale</c:when>
					<c:otherwise>Patologico</c:otherwise>
				</c:choose> <br /> <strong>Descrizione:</strong> <c:choose>
					<c:when test="${not empty acromegaliaSchedaBase.tcAddomeDescr}">
						<c:out value="${acromegaliaSchedaBase.tcAddomeDescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.campoVisivo}">
			<li><strong>Campo visivo</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.campoVisivo == 'N'}">Normale</c:when>
					<c:otherwise>Patologico</c:otherwise>
				</c:choose> <br /> <strong>Descrizione:</strong> <c:choose>
					<c:when test="${not empty acromegaliaSchedaBase.campoVisivoDescr}">
						<c:out value="${acromegaliaSchedaBase.campoVisivoDescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.angioRMN}">
			<li><strong>AngioRMN cerebrale</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.angioRMN == 'N'}">Normale</c:when>
					<c:otherwise>Patologico</c:otherwise>
				</c:choose> <br /> <strong>Descrizione:</strong> <c:choose>
					<c:when test="${not empty acromegaliaSchedaBase.angioRMNDescr}">
						<c:out value="${acromegaliaSchedaBase.angioRMNDescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.dexa}">
			<li><strong>AngioRMN cerebrale</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.dexa == 'N'}">Osteopenia</c:when>
					<c:otherwise>Osteoporosi</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.rxColonna}">
			<li><strong>RX colonna</strong>: <c:choose>
					<c:when test="${acromegaliaSchedaBase.rxColonna == 'N'}">Normale</c:when>
					<c:otherwise>Patologico</c:otherwise>
				</c:choose> <br /> <strong>Descrizione:</strong> <c:choose>
					<c:when test="${not empty acromegaliaSchedaBase.rxColonnaDescr}">
						<c:out value="${acromegaliaSchedaBase.rxColonnaDescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

		<c:if test="${not empty acromegaliaSchedaBase.rxColonna}">
			<li><strong>Altro</strong>: <strong>Descrizione:</strong> <c:choose>
					<c:when test="${not empty acromegaliaSchedaBase.altroDescr}">
						<c:out value="${acromegaliaSchedaBase.altroDescr}" />
					</c:when>
					<c:otherwise>
						Nessuna descrizione presente.
					</c:otherwise>
				</c:choose>
				<hr /></li>
		</c:if>

	</ul>
</div>
<div class="scheda-section">
	<h3>Patologie concomitanti</h3>
	<c:choose>
		<c:when test="${not empty acromegaliaSchedaBase.patologieOut}">
			<ul>
				<c:forEach var="entry" items="${acromegaliaSchedaBase.patologieOut}">
					<li><strong><c:out value="${entry.key}" /></strong> <br /> <c:out
							value="${entry.value}" /></li>
				</c:forEach>
			</ul>
		</c:when>
		<c:otherwise>
		Nessuna patologia concomitante presente.
	</c:otherwise>
	</c:choose>
</div>
<sf:form method="POST" modelAttribute="acromegaliaSchedaBase"
	action="indietro">
	<sf:button>Indietro</sf:button>
</sf:form>